<?php
namespace app\admin\controller;
use think\facade\Db;
use \think\facade\View;
use \think\facade\Request;
class User
{
    public function index()
    {

        $where['keywords']='唐僧';
        $list=\app\admin\model\User::getOne(1,$where);
        View::assign('list',$list);

//        $sql=\app\admin\model\User::getSexBmAttr();
//        View::assign('sql',$sql);
//        echo "<pre>";
//        print_r($list->toArray());
//        echo "</pre>";

        return view();
    }


}